<template>
  <div id="app">
    <event :name="name" @change="handleChange"></event>
  </div>
</template>

<script>
import Event from './components/Event.vue'
export default {
  name: 'App',
  components: {
    Event
  },
  data() {
    return {
      name: ''
    }
  },
  methods: {
    handleChange(value) {
      this.name = value
    }
  }
}
</script>